const go/types.value
69 uses
go/types (current package)
api.go#L419: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L428: return tv.mode == value && tv.Type == Typ[UntypedNil]
api_predicates.go#L34: x := operand{mode: value, typ: V}
api_predicates.go#L45: x := operand{mode: value, typ: V}
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
builtins.go#L146: x.mode = value
builtins.go#L161: mode = value
builtins.go#L166: mode = value
builtins.go#L181: mode = value
builtins.go#L185: mode = value
builtins.go#L207: mode = value
builtins.go#L354: x.mode = value
builtins.go#L417: x.mode = value
builtins.go#L512: x.mode = value
builtins.go#L574: x.mode = value
builtins.go#L617: x.mode = value
builtins.go#L624: x.mode = value
builtins.go#L672: x.mode = value
builtins.go#L725: x.mode = value
builtins.go#L745: x.mode = value
builtins.go#L759: x.mode = value
builtins.go#L811: mode := value
builtins.go#L823: x.mode = value
builtins.go#L847: x.mode = value
builtins.go#L879: x.mode = value
builtins.go#L896: x.mode = value
builtins.go#L916: x.mode = value
builtins.go#L931: x.mode = value
call.go#L104: args = []*operand{{mode: value, expr: expr, typ: T.sig}}
call.go#L128: x.mode = value
call.go#L179: assert(x.mode == value)
call.go#L311: check.recordTypeAndValue(call.Fun, value, sig, nil)
call.go#L322: x.mode = value
call.go#L326: x.mode = value
call.go#L334: if x.mode == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ) {
call.go#L414: resList[i] = &operand{mode: value, expr: e, typ: v.typ}
call.go#L696: funcMode := value
call.go#L764: x.mode = value
call.go#L884: x.mode = value
call.go#L902: x.mode = value
call.go#L956: x.mode = value
call.go#L1004: x.mode = value // anything but invalid
conversions.go#L82: x.mode = value // type parameters are not constants
conversions.go#L86: x.mode = value
expr.go#L145: x.mode = value
expr.go#L190: x.mode = value
expr.go#L565: x.mode = value
expr.go#L741: x.mode = value
expr.go#L753: x.mode = value
expr.go#L869: x.mode = value
expr.go#L1302: list[i] = &operand{mode: value, expr: e, typ: v.typ}
expr.go#L1310: x2 := &operand{mode: value, expr: e, typ: Typ[UntypedBool]}
expr.go#L1371: if x.mode == value {
index.go#L38: case value:
index.go#L64: x.mode = value
index.go#L72: x.mode = value
index.go#L119: mode = value
index.go#L125: mode = value
index.go#L317: x.mode = value
literals.go#L103: x.mode = value
literals.go#L317: x.mode = value
operand.go#L32: value // operand is a computed value
operand.go#L47: value: "value",
operand.go#L127: if x.mode == value && x.typ == Typ[UntypedNil] {
operand.go#L302: return x.mode == value && x.typ == Typ[UntypedNil]
range.go#L139: y.mode = value
range.go#L180: y.mode = value
typexpr.go#L132: x.mode = value
typexpr.go#L139: x.mode = value